package cn.deschen.search.constants;

/**
 * @Author hanbin_chen
 * @Description 数据表常量
 * @DateTime 2021/6/11
 * @Version V1.0.0
 */
public interface TableConstants {

    /**
     * 数据表通用字段
     */
    class TableCmColumn {
        public static final String COLUMN_ID = "id";
        public static final String COLUMN_IS_DEL = "is_del";
    }

    class AdPlan extends TableCmColumn{

        public static final String COLUMN_USER_ID = "user_id";
        public static final String COLUMN_PLAN_NAME = "plan_name";
        public static final String COLUMN_PLAN_STATUS = "plan_status";
        public static final String COLUMN_START_DATE = "start_date";
        public static final String COLUMN_END_DATE = "end_date";
    }

    class AdCreative extends TableCmColumn{
        public static final String COLUMN_USER_ID = "user_id";
        public static final String COLUMN_CREATIVE_NAME = "creative_name";
        public static final String COLUMN_MATERIAL_TYPE = "material_type";
        public static final String COLUMN_CHILD_MATERIAL_TYPE = "child_material_type";
        public static final String COLUMN_HEIGHT = "height";
        public static final String COLUMN_WIDTH = "width";
        public static final String COLUMN_SIZE = "size";
        public static final String COLUMN_DURATION = "duration";
        public static final String COLUMN_AUDIT_STATUS = "audit_status";
        public static final String COLUMN_URL = "url";
    }

    class AdUnit extends TableCmColumn{
        public static final String COLUMN_PLAN_ID = "plan_id";
        public static final String COLUMN_UNIT_NAME = "unit_name";
        public static final String COLUMN_UNIT_STATUS = "unit_status";
        public static final String COLUMN_POSITION_TYPE = "position_type";
        public static final String COLUMN_BUDGET = "budget";
    }


    class AdTag extends TableCmColumn{
        public static final String COLUMN_TAG_NAME  = "tag_name";
    }


    class AdKeyword extends TableCmColumn{
        public static final String COLUMN_KEYWORD_NAME  = "keyword_name";
    }

    class AdRegion extends TableCmColumn{
        public static final String COLUMN_PROVINCE = "province";
        public static final String COLUMN_CITY = "city";
    }

    class AdUnitEle extends TableCmColumn{
        public static final String COLUMN_UNIT_ID = "unit_id";
        public static final String COLUMN_ELE_ID = "ele_id";
        public static final String COLUMN_ELE_TYPE = "ele_type";
    }
}
